// compentents/filtering/filtering.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {
    time:["不限","周一","周二","周三","周四","周五","周六","周日"],
    price:[{minPr:0,maxPr:200},{minPr:201,maxPr:400},{minPr:401,maxPr:600},{minPr:600,maxPr:"以上"}]
  },

  /**
   * 组件的方法列表
   */
  methods: {
    filteringChange(e){
      const data = e.currentTarget.dataset.fc
      this.triggerEvent('filteringChange',data)
    },
    resetTitle(){
      this.triggerEvent('resetTitle',"")
    }
  }
})
